package com.wallet.my.dao.mapper;

import com.wallet.my.dao.pojo.ContractRecordDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 拍卖记录的mapper
 **/
@Repository
public interface ContractRecordMapper {
//    监听到事件后存入库
    int addContractRecord(ContractRecordDO contractRecordDO);

//    根据合约地址获取所有的出价记录
    List<ContractRecordDO> getContractRecordByContractAddress(String contractAddress);



}
